package cn.git.demo.service;


import cn.git.demo.pojo.Brand;
import cn.git.demo.pojo.Product;
import cn.itcast.common.page.Pagination;

import java.util.List;

public interface ProductService {

    public Pagination selectPaginationByQuery(String name, Integer isShow, Integer pageNo);

    public Product selectProductById(Long id);

    public void updateProductById(Product product);

    public List<Brand> selectBrandName();

    public List<Product> selectProductByIds(Long[] ids);
}
